package com.dianxin.smartpark.service.attendance;

import com.chinatelecom.response.common.CommonResponseBody;
import com.dianxin.smartpark.dao.qo.attendance.SmartParkAttendanceApproveQO;
import com.dianxin.smartpark.service.vo.attendance.SmartParkAttendanceApproveVO;

import java.util.List;

/**
 * @program: smart-park
 * @description: 考勤审批
 * @author: chenyong
 * @create: 2021-08-10 16:39
 */
public interface  SmartParkAttendanceApproveService {

    /**
     * 分页查询
     * @Description:  分页查询
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody<List<SmartParkAttendanceApproveVO>>
     */
    CommonResponseBody<List<SmartParkAttendanceApproveVO>> getAttendanceApproves(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);

    /**
     * 审批添加
     * @Description:  审批添加
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody saveAttendanceApprove(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);

    /**
     * 审批修改
     * @Description:  审批修改
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody updateAttendanceApprove(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);

    /**
     * 审批删除
     * @Description:  审批删除
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody deleteAttendanceApprove(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);

    /**
     * 审批详情
     * @Description:  审批详情
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody<SmartParkAttendanceApproveVO> AttendanceApproveDetails(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);


    /**
     * 审批处理
     * @Description:  审批处理
     * @Author: ChenYong
     * @Date: 2021/8/10 0010
     * @param smartParkAttendanceApproveQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody AttendanceApproveHandle(SmartParkAttendanceApproveQO smartParkAttendanceApproveQO);
}
